//
//  ImageStorgeUtil.h
//  NewsReader
//
//  Created by blacksun on 10-11-3.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface ImageStorgeUtil : NSObject {

}
//根据图片的url判断其在文件系统中有没有缓存
+(BOOL)isImageExistInSystem:(NSString *)imagePath;
//将服务器返回的图片流保存到本地文件系统中
+(BOOL)saveImageData:(NSData *)aData toFilePath:(NSString *)imagePath;
//将本地的缓存的对应图片删除
+(BOOL)deleteImageFromSystem:(NSString *)imagePath;
//根据图片url获取图片名
+(NSString *)getFilePathWithImagePath:(NSString *)imagePath;
//根据图片url返回在本地文件系统中的全路径
+(NSString *)getFullPathWithImagePath:(NSString *)imagePath;

@end
